﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emz.Core.Models;

namespace Legazpi.Payroll.Services.Interfaces
{
    public interface IDayTimeRecordService
    {
        DayTimeRecord GetById(int id);
        IEnumerable<DayTimeRecord> GetAll();
        IEnumerable<DayTimeRecord> Get();
        DayTimeRecord GetEmployeeDTRbyPayroll(Employee employee,PayrollDate payDate);

        void Add(DayTimeRecord dayTimeRecord);
        void Update(DayTimeRecord dayTimeRecord);
        void Delete(int id);
        bool Save();
    }
}
